Shutup some trx warnings
authorNiklas Laxström <niklas.laxstrom@gmail.com>
Fri, 5 Oct 2012 07:30:34 +0000 (07:30 +0000)
committerNiklas Laxström <niklas.laxstrom@gmail.com>
Fri, 5 Oct 2012 07:32:52 +0000 (07:32 +0000)
It's been two weeks and there hasn't been enough
effort in fixing the reported issues to justify
the flooding of logs in twn.

Change-Id: I3eacc5a9220b451bb94c4aa5ae35de4095528542

includes/db/Database.php

index 0a51f49..5271208 100644 (file)
@@ -2923,8 +2923,8 @@ abstract class DatabaseBase implements DatabaseType {
                                //
                                // b) the DBO_TRX flag is not set. Explicit transactions should always be properly
                                //    started and comitted.
-                               wfWarn( "$fname: Transaction already in progress (from {$this->mTrxFname}), " .
-                                       " performing implicit commit!" );
+                               /*wfWarn( "$fname: Transaction already in progress (from {$this->mTrxFname}), " .
+                                       " performing implicit commit!" );*/
                        } elseif ( $wgDebugDBTransactions ) {
                                wfDebug( "$fname: Transaction already in progress (from {$this->mTrxFname}), " .
                                        " performing implicit commit!\n" );